itertools permutations()

visit shbcf.ru